package com.glela.goods.model.vo.limitsale;

import java.util.LinkedList;
import java.util.List;

import org.apache.commons.lang3.StringUtils;

import com.glela.common.model.ProductTag;
import com.glela.goods.model.GoodsNavigate;

public class LimitSaleGoodsVo {
	//	private Integer	limitTimeSaleDetailId;	//分时抢购明细ID
	private Integer	limitTimeSaleId;	//分时抢购ID
	private Long	goodsId;			//商品id
	//	private Long	productId;				//商品规格id
	private String	goodsName;	//商品名称
	private String	subTitle;	//副标题
	private String	image;		//商品图片
	//	private String	onlineTime;		//上线时间
	//	private String	offlineTime;	//下线时间
	private int		salerNums;	//在售数量
	private boolean	onSale;		//在售

	private GoodsPriceVo		goodsPrice;											//价格
	private long				inventoryNum;										//可用库存
	private List<ProductTag>	productTags		= new LinkedList<ProductTag>();		//热卖标签
	private List<GoodsNavigate>	goodsNavigates	= new LinkedList<GoodsNavigate>();	// 介绍图

	//	public Integer getLimitTimeSaleDetailId() {
	//		return limitTimeSaleDetailId;
	//	}
	//
	//	public void setLimitTimeSaleDetailId(Integer limitTimeSaleDetailId) {
	//		this.limitTimeSaleDetailId = limitTimeSaleDetailId;
	//	}

	public Integer getLimitTimeSaleId() {
		return limitTimeSaleId;
	}

	public void setLimitTimeSaleId(Integer limitTimeSaleId) {
		this.limitTimeSaleId = limitTimeSaleId;
	}

	public Long getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	//	public Long getProductId() {
	//		return productId;
	//	}
	//
	//	public void setProductId(Long productId) {
	//		this.productId = productId;
	//	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getSubTitle() {
		return StringUtils.isBlank(subTitle) ? StringUtils.EMPTY : subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getImage() {
		return image;
	}

	//	public String getOnlineTime() {
	//		return onlineTime;
	//	}
	//
	//	public void setOnlineTime(String onlineTime) {
	//		this.onlineTime = onlineTime;
	//	}
	//
	//	public String getOfflineTime() {
	//		return offlineTime;
	//	}
	//
	//	public void setOfflineTime(String offlineTime) {
	//		this.offlineTime = offlineTime;
	//	}

	public int getSalerNums() {
		return salerNums;
	}

	public void setSalerNums(int salerNums) {
		this.salerNums = salerNums;
	}

	public boolean isOnSale() {
		return onSale;
	}

	public void setOnSale(boolean onSale) {
		this.onSale = onSale;
	}

	public GoodsPriceVo getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(GoodsPriceVo goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public long getInventoryNum() {
		return inventoryNum;
	}

	public void setInventoryNum(long inventoryNum) {
		this.inventoryNum = inventoryNum;
	}

	public List<ProductTag> getProductTags() {
		return productTags;
	}

	public void setProductTags(List<ProductTag> productTags) {
		this.productTags = productTags;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public List<GoodsNavigate> getGoodsNavigates() {
		return goodsNavigates;
	}

	public void setGoodsNavigates(List<GoodsNavigate> goodsNavigates) {
		this.goodsNavigates = goodsNavigates;
	}

}